package com.nervenets.web.controller.user;

import com.nervenets.web.controller.TokenParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@EqualsAndHashCode(callSuper = true)
@Data
public class FeedbackReplyParams extends TokenParams {
    @ApiModelProperty(value = "反馈Id", required = true)
    @Positive(message = "反馈Id必为正整数")
    private long feedbackId;
    @ApiModelProperty(value = "回复的内容，如果是忽略的反馈，直接传‘ignore’", required = true)
    @NotNull(message = "回复的内容不能为空")
    private String reply;
}
